<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>

<html:html locale="true">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>用户注册</title>
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/myspace.css" />
<script type="text/javascript" language="javascript" src="${pageContext.request.contextPath}/js/myspace.js"></script>
<style type="text/css">
<!--
body {
	background-color: #C9CED2;
	text-align: center;
	margin: 0px;
	padding: 0px;
}
-->
</style>
</head>

<body>
<div id="wrapper">
<div id="header">
<div id="left"></div>
<div id="logo" style="width: 920px;"><img
	src="${pageContext.request.contextPath}/image/logo-n05.gif" width="166"
	height="53" /></div>
<div id="right"
	style="background: url(${pageContext.request.contextPath}/image/top-n_bg2.gif) no-repeat top right;"></div>
</div>
<div id="body">
<div id="content" align="center">
<div id="titleRound"
	style="margin-top: 80px; color: #6B9E18; width: 65%">
<div id="left"></div>
<div id="right"></div>
用户注册</div>
<table width="65%" cellspacing="0" cellpadding="0">
	<tr>
		<td height="131" valign="top">
		<table width="100%" cellpadding="0" cellspacing="2" bgcolor="#EFEBEF">
			<tr>
				<td height="103" valign="top" bgcolor="#FFFFFF">
				<table width="100%" cellspacing="0" cellpadding="0">
					<tr>
						<td height="10"></td>
					</tr>
				</table>
				<html:form action="/user/register" method="post" styleId="mainForm"
					onsubmit="return validate()" enctype="multipart/form-data">
					<table width="95%" border="0" cellpadding="0" cellspacing="0">
						<tr>
							<td width="45" align="right"><img
								src="${pageContext.request.contextPath}/image/icon-058.gif"
								width="16" height="16" /></td>
							<td height="25" colspan="2" align="left" valign="middle"
								style="width: 520px">填写注册信息<span
								style="FONT-WEIGHT: normal; FONT-SIZE: 12px">(带*的为必填项)</span></td>
						</tr>
						<tr>
							<td colspan="3" align="center">
							<table width="100%" border="0" cellpadding="0">
								<tr style="height: 40px">
									<td width="83" align="right" nowrap="nowrap" class="STYLE1"
										style="height: 40px">用 户 名：</td>
									<td width="246" align="left"><span class="STYLE50">
									<html:text property="user.name" styleId="user.name"
										style="width:180px;"></html:text> <span class="STYLE51">*
									</span></span></td>
									<td width="331" align="left">
									<div class="reg_font" id="username_id">由数字、字母和下划线组成，长度3～20位</div>
									</td>
								</tr>
								<tr style="height: 40px">
									<td align="right" class="STYLE1">密 码：</td>
									<td align="left"><span class="STYLE50"> <html:password
										property="user.password" styleId="user.password"
										style="width:180px;"></html:password>
										<span class="STYLE51">* </span></span></td>
									<td width="331" align="left">
									<div class="reg_font" id="pwd_id">
									<p>由数字、字母组成，区分大小写，长度6～20位</p>
									</div>
									</td>
								</tr>
								<tr style="height: 40px">
									<td align="right" class="STYLE1">确认密码：</td>
									<td align="left"><span class="STYLE50"> <input
										type="password" id="repassword" style="width: 180px;" />
									<span class="STYLE51">* </span></span></td>
									<td width="331" align="left">
									<div class="reg_font" id="pwdConfirm_id">请再次输入您的密码</div>
									</td>
								</tr>
								<tr style="height: 40px">
									<td align="right" class="STYLE1">昵 称：</td>
									<td align="left" nowrap="nowrap"><span class="STYLE50">
									<html:text property="user.name"
										styleId="user.dispName" style="width:180px;"></html:text> <span
										class="STYLE51"> * </span></span></td>
									<td width="331" align="left">
									<div class="reg_font" id="email_id">
									<p>您登录后使用的昵称</p>
									</div>
									</td>
								</tr>
							</table>
							</td>
						</tr>
						<tr>
							<td height="34" colspan="2" align="center">&nbsp;</td>
							<td width="520" height="34" align="center">
							<table width="100%" cellspacing="0" cellpadding="0">
								<tr>
									<td>
									<img src="${pageContext.request.contextPath}/image/firstindex_reg_on.jpg"
									 onclick="doRegister()" style="cursor:pointer;"/>
									</td>
									<td align="right" valign="bottom"><span class="menu"
										style="color: #6B9E18"><a
										href="${pageContext.request.contextPath}/user/login.jsp">&lt;&lt;
									返回</a></span></td>
								</tr>
							</table>
							</td>
						</tr>
					</table>
				</html:form></td>
			</tr>
		</table>
		</td>
	</tr>
</table>
<span id="copyright" style="margin-top: 80px;">Copyright ©
2007-2008 Allen.Chen</span></div>
</div>
<div id="footer">
<div id="left"></div>
<div id="right"></div>
</div>
</div>
</body>
</html:html>
